package com.mdx.user;

/**
 * @author : jiagang
 * @date : Created in 2024/2/28 17:20
 */
public class Demo1 {

    public static void main(String[] args) {
        Object lock = new Object();
        synchronized (lock){
            System.out.println("hello");
        }
    }
}
